package org.jackysoft.entity;

import java.io.Serializable;

import javax.persistence.Column;
import javax.persistence.Embeddable;

@Embeddable
public class FieldAccessControlPK implements Serializable {

	/**
	 * 
	 */
	private static final long serialVersionUID = 1699983232056760165L;

	private String workflowName;

	private Long stepId;

	public FieldAccessControlPK() {
	}

	/**
	 * 表单主键
	 * @param  String  workflowName工作流名称-流程呢个定义的唯一标识符，主键
	 * @param  Long  stepId步骤ID，此Id是工作流描述文件中的编号，而非运行过程
	 * <br/>中生成的编号
	 * */
	public FieldAccessControlPK(String workflowName, Long stepId) {
		this.workflowName = workflowName;
		this.stepId = stepId;
	}

	@Column(name = "entity_name", length = 125)
	public String getWorkflowName() {
		return workflowName;
	}

	public void setWorkflowName(String workflowName) {
		this.workflowName = workflowName;
	}

	@Column(name = "entity_step_Id")
	public Long getStepId() {
		return stepId;
	}

	public void setStepId(Long stepId) {
		this.stepId = stepId;
	}

}
